<template>
<div>
  <dl>
      <dt><img :src="img" alt="图片加载错误"></dt>
      <dd>{{title}}</dd>
  </dl>

</div>
</template>

<script>
export default {
    props:["img","title"]
}
</script>

<style scoped>
div{

}
dl{
    text-align: center;
    width: .6rem;
    height: .90rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
dt{
    width: .45rem;
    height: .45rem;
}
dt img{
    width: .45rem;
    height: .45rem;
}
dd{
    width: .6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: .08rem;
}
</style>